﻿<src:WpfConfiguration x:Class="DefaultModules.Wpf.PlaySoundConfig"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:src="clr-namespace:MayhemWpf.UserControls;assembly=MayhemWpf"
             Width="400" >

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="30" />
            <ColumnDefinition Width="300" />
            <ColumnDefinition Width="70" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <TextBlock HorizontalAlignment="Left" Style="{StaticResource ConfigLabel}" Grid.Column="0" Grid.Row="0">File:</TextBlock>
        <TextBox Name="LocationBox" TextChanged="LocationBox_TextChanged" Grid.Column="1" Grid.Row="0" />
        <Button Height="25" Margin="5,0,0,0" Click="Browse_Click" Grid.Column="2" Grid.Row="0">Browse</Button>

        <TextBlock Style="{StaticResource ConfigErrorMessage}" Name="textInvalid" Grid.Column="1" Grid.Row="1">File location is invalid</TextBlock>
    </Grid>
</src:WpfConfiguration>
